//package com.stack.admin.controller.v1;
//
//
//import com.stack.admin.service.CommonService;
//import com.stack.model.admin.dtos.CommonDto;
//import com.stack.model.common.dtos.ResponseResult;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.PostMapping;
//import org.springframework.web.bind.annotation.RequestBody;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
//import javax.annotation.Resource;
///**
// * @author llz
// * @date 2023/11/15 9:29
// * @description
// */
//@RestController
//@RequestMapping("/api/v1/admin/common")
//public class CommonController {
//
//    @Resource
//    private CommonService commonService;
//
//    @PostMapping("/list")
//    public ResponseResult list(@RequestBody CommonDto dto){
//        return commonService.list(dto);
//    }
//
//    @PostMapping("/update")
//    public ResponseResult update(@RequestBody CommonDto dto){
//        return commonService.update(dto);
//    }
//
//    @PostMapping("/delete")
//    public ResponseResult delete(@RequestBody CommonDto dto){
//        return commonService.delete(dto);
//    }
//}
